From b07421efe9eb39c31ee4c17b5b2134af0d27d573 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Mon, 4 Dec 2023 03:44:24 +0100 Subject: [PATCH] Merge pull request #6296 from jjm2473/patch-2 luci-theme-bootstrap: set scroll-margin-top for all elements (cherry picked from commit 16470a0ab89c7bcde66e9ce7334d8e4d0a4265d0) --- .../htdocs/luci-static/bootstrap/cascade.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index 6b51189ff9..8968fa0d24 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -154,6 +154,10 @@ * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */ +* { + scroll-margin-top: 40px; +} + *, *::before, *::after { margin: 0; padding: 0; -- 2.30.2